package com.example.reader.service;

import com.example.reader.entity.Activity;
import com.example.reader.mapper.ActivityMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 业务层方法
 */
@Service
public class ActivityService {

    @Resource
    private ActivityMapper activityMapper;

    public List<Activity> selectAll(Activity activity) {
        return activityMapper.selectAll(activity);
    }


}
